package app.vendorportal.api.data;

import javax.validation.constraints.NotNull;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @author Raymond
 */
@XmlRootElement(name = "vendor-pick-ticket-item")
@XmlAccessorType(XmlAccessType.FIELD)
public class EDI856VendorPickTicketItem {

    @NotNull(message = "sku is required")
    @XmlElement(name = "sku")
    private String sku;

    @NotNull(message = "shipped quantity is required")
    @XmlElement(name = "shipped-quantity")
    private int shippedQuantity;

    @NotNull(message = "ordered quantity is required")
    @XmlElement(name = "ordered-quantity")
    private  int orderedQuantity;

    public String getSku() {
        return sku;
    }

    public void setSku(String sku) {
        this.sku = sku;
    }

    public int getShippedQuantity() {
        return shippedQuantity;
    }

    public void setShippedQuantity(int shippedQuantity) {
        this.shippedQuantity = shippedQuantity;
    }

    public int getOrderedQuantity() {
        return orderedQuantity;
    }

    public void setOrderedQuantity(int orderedQuantity) {
        this.orderedQuantity = orderedQuantity;
    }

}
